package Level03_one;
//四条腿黑色的狗会吃饭(吃骨头)和看家
//两条腿的绿色鹦鹉吃饭(吃小米)和说话.
public class Dog extends Animal{
    public void eat(){
        System.out.println(super.getLegs()+"条腿"+super.getColor()+"的狗会吃饭(吃骨头)和看家");
    }

    public Dog(int legs, String color) {
        super(legs, color);
    }
}
